<!---
Returns the mime type of the specified file.

@param filePath      The file to examine, (Required)
@return Returns a string.
@author Ben Rogers (ben@c4.net)
@version 1, July 19, 2005
--->
<cffunction name="getFileMimeType" returntype="string" output="no">
    
    <cfargument name="filePath" type="string" required="yes">
    
    <cfreturn getPageContext().getServletContext().getMimeType(arguments.filePath)>
    
</cffunction>
<cfif FileExists('#urldecode(path)#')>
	<cfcontent file="#urldecode(path)#"  type='#getFileMimeType(path)#'  >
<cfelse>
	<cfcontent file="#VideoThumbPath#no.png"   >
</cfif>